<?php
return [

    'toolbar' => [
        'add' => [],
        'edit' => [],
        'delete' => [],
        'refresh' => [],
    ],
    'fg' => [
        'filterToolbar' => true,
        'treeGrid' => true,
        'colModel' => [
            [
                'label' => 'ID',
                'name' => 'id',
                'width' => 60,
                'align' => 'center',
                'sortable' => false,
                'classes' => 'gc-black padding-left',
            ],
            [
                'label' => '菜单名称',
                'name' => 'name',
                'width' => 140,
                'align' => 'left',
                'sortable' => false,
                'classes' => 'gc-black padding-left',
            ],
            [
                'label' => '图标',
                'name' => 'icon',
                'width' => 40,
                'align' => 'center',
                'sortable' => false,
                'formatter' => 'formatter.icon',
                'classes' => 'gc-black padding-left',
            ],
            [
                'label' => '链接地址',
                'name' => 'url',
                'width' => 220,
                'align' => 'left',
                'sortable' => false,
                'classes' => 'gc-black',
                'editable' => true,
                'editname' => 'url',
            ],
            [
                'label' => '附加参数',
                'name' => 'data',
                'width' => 120,
                'align' => 'left',
                'sortable' => false,
                'classes' => 'gc-black',
                'editable' => true,
                'editname' => 'data',
            ],
            [
                'label' => '排序',
                'name' => 'sort',
                'width' => 60,
                'align' => 'center',
                'sortable' => true,
                'classes' => 'gc-black',
                'editable' => true,
                'editname' => 'sort',
            ],
            [
                'label' => '菜单状态',
                'name' => 'display',
                'width' => 60,
                'align' => 'center',
                'sortable' => false,
                'classes' => 'gc-black',
                'formatter' => 'formatter.yesno',
            ],
        ],
        'rowNum' => 240,
        'rowList' => [30, 60, 120, 240],
    ],
];
